<template>
     <el-container style="height: 100vh; border: 1px solid #eee">
  <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
      <el-menu router>
            <el-menu-item index="/shouye/xinxi">人员信息</el-menu-item>
            <el-menu-item index="/shouye/kaoqin">考勤设定</el-menu-item>
            <el-menu-item index="/shouye/qingjia">请假去向</el-menu-item>
            <el-menu-item index="/shouye/guanli">系统管理</el-menu-item>
      </el-menu>
  </el-aside>
  <el-container>
    <el-header style="text-align: right; font-size: 12px">
        <!-- <div class="aa"> <img src="https://img1.baidu.com/it/u=1042770547,3382702360&fm=26&fmt=auto&gp=0.jpg" alt=""></div> -->
      <el-dropdown>
        <i class="el-icon-setting" style="margin-right: 15px"></i>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item>用户退出</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
      <span>王小虎</span>
    </el-header>
    
    <el-main>
     <!-- 子路由 -->
     <router-view />
    </el-main>
  </el-container>
</el-container>
</template>

<script>
    export default {

        }
</script>

<style lang="scss" scoped>
<<<<<<< HEAD
*{
  margin: 0;
  padding: 0;
}
 .el-header {
=======
.el-header {
>>>>>>> origin/dongwu
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
}
  
.el-aside {
    color: #333;
  }
</style>